package com.ruoyi.course.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;


/**
 * 发票申请对象 exam_invoice
 *
 * @author Tellsea
 * @date 2025-10-14
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("exam_invoice")
public class ExamInvoice extends BaseEntity {

    /**
     * 主键ID
     */
    private Long id;

    private Long headerId;

    /**
     * 申请人ID
     */
    private Long userId;

    /**
     * 申请人名称
     */
    @Excel(name = "申请人名称")
    private String applicantName;

    /**
     * 申请人手机号
     */
    @Excel(name = "申请人手机号")
    private String applicantPhone;

    /**
     * 申请人身份证号
     */
    @Excel(name = "申请人身份证号")
    private String applicantIdCard;

    /**
     * 班次ID
     */
    @Excel(name = "班次ID")
    private Long classId;

    /**
     * 开票金额
     */
    @Excel(name = "开票金额")
    private BigDecimal invoiceAmount;

    /**
     * 开票状态（0已申请，1已完成）
     */
    @Excel(name = "开票状态", readConverterExp = "0=已申请，1已完成")
    private Integer invoiceStatus;

    /**
     * 删除状态（1存在，0删除）
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer deleteStatus;

}
